namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class urm_rs_base
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [Required]
        [StringLength(100)]
        public string CODE { get; set; }

        [Required]
        [StringLength(100)]
        public string NAME { get; set; }

        [StringLength(50)]
        public string MRL_GID { get; set; }

        [StringLength(200)]
        public string MRL_EXT_NAME { get; set; }

        [StringLength(50)]
        public string RS_CLASS_GID { get; set; }

        public int IS_SYS_BAR { get; set; }

        public int IS_SUITE { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }

        [StringLength(100)]
        public string BREED { get; set; }

        [StringLength(50)]
        public string RAW_MRL { get; set; }

        [StringLength(240)]
        public string MODEL { get; set; }

        [StringLength(50)]
        public string SPEC { get; set; }

        [StringLength(50)]
        public string RS_SIZE { get; set; }

        [StringLength(50)]
        public string RS_WEIGHT { get; set; }

        [StringLength(1000)]
        public string RS_CHILD_ID { get; set; }

        [StringLength(50)]
        public string SUPPLY_GID { get; set; }

        [StringLength(50)]
        public string SUPPLY_CODE { get; set; }

        [StringLength(100)]
        public string SUPPLY_NAME { get; set; }

        public int? STANDARD_LIFE_CS { get; set; }

        public int? USING_LIFE_CS { get; set; }

        public int? STANDARD_LIFE_TIME { get; set; }

        public int? USING_LIFE_TIME { get; set; }

        [StringLength(2000)]
        public string REMARK { get; set; }

        [StringLength(50)]
        public string WORK_CELL_GID { get; set; }

        [StringLength(50)]
        public string HANDLE_PERSON { get; set; }

        public DateTime? USE_TIME { get; set; }

        public int? POLISH { get; set; }

        public int? MAXPOLISH { get; set; }

        public int? DISPLACEMENT { get; set; }

        public int? ORDERING { get; set; }

        public int? GENERALITY { get; set; }

        public int? SEQUENCE { get; set; }

        [StringLength(50)]
        public string ROUTING { get; set; }

        [StringLength(50)]
        public string OP_GID { get; set; }

        public int? WARNING_LIFE { get; set; }

        public decimal? RATIO { get; set; }

        public int? CONTROL_CODE { get; set; }

        [StringLength(50)]
        public string VERSION { get; set; }

        public int? WARNING_INVENTORY_NUMBER { get; set; }

        public int? INVENTORY_QUOTA { get; set; }

        public int? MINI_ORDER_QUANTITY { get; set; }

        public decimal? PRICE { get; set; }

        [StringLength(30)]
        public string DEVICE { get; set; }

        public int? DEVICE_QTY { get; set; }

        public int? EVERY_QTY { get; set; }

        [StringLength(300)]
        public string PART { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        public DateTime CREATE_DATE { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        public DateTime? MODIFY_DATE { get; set; }

        public decimal IS_ACTIVE { get; set; }

        public decimal IS_DELETE { get; set; }

        [StringLength(50)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }
    }
}
